<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>首字母大写变小写</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <!--<link rel="stylesheet" href="https://www.layuicdn.com/layui/css/layui.css"  media="all">-->
</head>
<body>
<div id="topics">
  <div class="post">
    <h1 class="postTitle">

      <a id="cb_post_title_url" class="postTitle2" href="https://www.cnblogs.com/xiangpeng/p/10625482.html">首字母大写变小写</a>

    </h1>
    <div class="clear"></div>
    <div class="postBody">

      <div id="cnblogs_post_body" class="blogpost-body ">
        <p>很简单的一个代码</p>
        <div class="cnblogs_Highlighter sh-gutter">
          <div><div id="highlighter_20817" class="syntaxhighlighter  java"><div class="toolbar"><span><a href="#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="java keyword">private</code> <code class="java plain">String lowerFirstCase(String str){</code></div><div class="line number2 index1 alt1"><code class="java spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="java keyword">char</code> <code class="java plain">[] chars = str.toCharArray();</code></div><div class="line number3 index2 alt2"><code class="java spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="java plain">chars[</code><code class="java value">0</code><code class="java plain">] += </code><code class="java value">32</code><code class="java plain">;</code></div><div class="line number4 index3 alt1"><code class="java spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="java keyword">return</code> <code class="java plain">String.valueOf(chars);&nbsp;&nbsp;&nbsp;&nbsp; </code></div><div class="line number5 index4 alt2"><code class="java plain">} </code></div></div></td></tr></tbody></table></div></div>
        </div>
        <p>　　</p>
      </div>
      <div id="MySignature" style="display: block;">yian</div>
      <div class="clear"></div>
      <div id="blog_post_info_block"><div id="BlogPostCategory">
        分类:
        <a href="https://www.cnblogs.com/xiangpeng/category/1204089.html" target="_blank">JAVA</a></div>


        <div id="blog_post_info">
          <div id="green_channel">
            <a href="javascript:void(0);" id="green_channel_digg" onclick="DiggIt(10625482,cb_blogId,1);green_channel_success(this,'谢谢推荐！');">好文要顶</a>
            <a id="green_channel_follow" onclick="follow('dc4af80d-9fdb-487c-c1bd-08d4ef52ecb5');" href="javascript:void(0);">关注我</a>
            <a id="green_channel_favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);">收藏该文</a>
            <a id="green_channel_weibo" href="javascript:void(0);" title="分享至新浪微博" onclick="ShareToTsina()"><img src="https://common.cnblogs.com/images/icon_weibo_24.png" alt=""></a>
            <a id="green_channel_wechat" href="javascript:void(0);" title="分享至微信" onclick="shareOnWechat()"><img src="https://common.cnblogs.com/images/wechat.png" alt=""></a>
          </div>
          <div id="author_profile">
            <div id="author_profile_info" class="author_profile_info">
              <a href="https://home.cnblogs.com/u/xiangpeng/" target="_blank"><img src="https://pic.cnblogs.com/face/1235769/20170909070353.png" class="author_avatar" alt=""></a>
              <div id="author_profile_detail" class="author_profile_info">
                <a href="https://home.cnblogs.com/u/xiangpeng/">怡安</a><br>
                <a href="https://home.cnblogs.com/u/xiangpeng/followees/">关注 - 1</a><br>
                <a href="https://home.cnblogs.com/u/xiangpeng/followers/">粉丝 - 6</a>
              </div>
            </div>
            <div class="clear"></div>
            <div id="author_profile_honor"></div>
            <div id="author_profile_follow">
              <a href="javascript:void(0);" onclick="follow('dc4af80d-9fdb-487c-c1bd-08d4ef52ecb5');return false;">+加关注</a>
            </div>
          </div>
          <div id="div_digg">
            <div class="diggit" onclick="votePost(10625482,'Digg')">
              <span class="diggnum" id="digg_count">1</span>
            </div>
            <div class="buryit" onclick="votePost(10625482,'Bury')">
              <span class="burynum" id="bury_count">0</span>
            </div>
            <div class="clear"></div>
            <div class="diggword" id="digg_tips">
            </div>
          </div>

          <script type="text/javascript">
              currentDiggType = 0;
          </script></div>
        <div class="clear"></div>
        <div id="post_next_prev">

          <a href="https://www.cnblogs.com/xiangpeng/p/10527186.html" class="p_n_p_prefix">« </a> 上一篇：    <a href="https://www.cnblogs.com/xiangpeng/p/10527186.html" title="发布于 2019-03-13 22:38">快速排序</a>
          <br>
          <a href="https://www.cnblogs.com/xiangpeng/p/11030225.html" class="p_n_p_prefix">» </a> 下一篇：    <a href="https://www.cnblogs.com/xiangpeng/p/11030225.html" title="发布于 2019-06-16 10:45">TCP的连接和释放过程</a>

        </div>
      </div>
    </div>
    <div class="postDesc">posted @
      <span id="post-date">2019-03-30 10:16</span>&nbsp;
      <a href="https://www.cnblogs.com/xiangpeng/">怡安</a>&nbsp;
      阅读(<span id="post_view_count">106</span>)&nbsp;
      评论(<span id="post_comment_count">1</span>)&nbsp;
      <a href="https://i.cnblogs.com/EditPosts.aspx?postid=10625482" rel="nofollow">编辑</a>&nbsp;
      <a href="javascript:void(0)" onclick="AddToWz(10625482);return false;">收藏</a></div>
  </div>


</div>
</body>
</html>